Feature: Crear un tag, Crear un nuevo post, agregarle el tag y publicarlo ,y eliminar el post y validar que ya no aparece al buscar por tag

Scenarios

Chart

Status

Progress

1

Passed

100.00%

Failed

0.00%
Total duration:
2m 41.994s

Scenario: Como autor creo un tag, creo un post y le asigno el tag,elimino el post y valido que no aparece en filtro por tag

Before 0m 2.030s
Given I go to page "<HOST>" "ghost/#/signin" 0m 8.386s
And I sign in with "<USERNAME>" and "<PASSWORD>" 0m 3.849s
And I go to page "<HOST>" "ghost/#/tags" 0m 7.682s
And I create new tag with "$number_1" 0m 2.954s
When I click new post 0m 3.336s
And I set post attributes title "$name_1" and body "$string_2" 0m 3.031s
And I select tag with name "$$number_1" 0m 6.160s
And I close settings menu 0m 2.799s
And I publish the post 0m 3.005s
And I go to page "<HOST>" "ghost/#/posts?type=published" 0m 7.753s
And I filter posts by tag with name "$$number_1" 0m 2.873s
Then I validate the post with "$$name_1" exists 0m 2.949s
And I go to page "<HOST>" "ghost/#/posts?type=published" 0m 7.772s
And I Click a post with title "$$name_1" 0m 4.830s
And I press settings button 0m 2.857s
And I click delete from settings 0m 7.824s
And I delete post 0m 7.846s
And I go to page "<HOST>" "ghost/#/posts?type=published" 0m 8.201s
And I filter posts by tag with name "$$number_1" 0m 2.890s
Then I validate the post with "$$name_1" not exists 0m 2.957s
After 0m 0.010s

Screenshots

Before
NO IMAGE AVAILABLE
Given I go to page "<HOST>" "ghost/#/signin"
And I sign in with "<USERNAME>" and "<PASSWORD>"
And I go to page "<HOST>" "ghost/#/tags"
And I create new tag with "$number_1"
When I click new post
And I set post attributes title "$name_1" and body "$string_2"
And I select tag with name "$$number_1"
And I close settings menu
And I publish the post
And I go to page "<HOST>" "ghost/#/posts?type=published"
And I filter posts by tag with name "$$number_1"
Then I validate the post with "$$name_1" exists
And I go to page "<HOST>" "ghost/#/posts?type=published"
And I Click a post with title "$$name_1"
And I press settings button
And I click delete from settings
And I delete post
And I go to page "<HOST>" "ghost/#/posts?type=published"
And I filter posts by tag with name "$$number_1"
Then I validate the post with "$$name_1" not exists
After
NO IMAGE AVAILABLE